import requests

from config import BASE_URL




class cpBoysCurd:
 #男生列表       TOKEN
 @classmethod
 def boys_list(cls,headers,data=None ):
     return requests.get(BASE_URL+ "/boys/",headers=headers, data=data)
#新增男生
 @classmethod
 def add_boys(cls,headers, data=None):  # data
     return requests.post(BASE_URL + "/boys/", headers=headers, json=data)
#编辑男生
 @classmethod
 def edit_boys(self,data=None):
     pass
     # return res
#批量删除男生
 @classmethod
 def del_boys(self,data=None):
     pass
     # return res
